package org.idea.ietty.action.rpc;

/**
 * @Author idea
 * @Date created in 11:39 下午 2020/5/13
 */
public class ServerDemo {

    public static void main(String[] args) {
        RpcServer rpcServer = new RpcServer();
        IUserService userService = new UserServiceImpl();
        rpcServer.export(userService,9090);
    }
}
